package com.yifang.yibingproject.query;

import com.yifang.yibingproject.utils.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户分页查询对象")
public class StaffPageQuery extends PageQuery {
    @ApiModelProperty("用户id")
    private String id;

    @ApiModelProperty("前端登录账号")
    private String username;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户真实姓名")
    private String realName;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("头像URL")
    private String avatar;

    @ApiModelProperty("性别：0.未知 1.男 2.女")
    private Integer gender;


    @ApiModelProperty("用户来源：0.后台添加 1.微信小程序注册 2.APP手机号注册")
    private Integer source;

    @ApiModelProperty("用户状态：1.正常 2.禁用")
    private Integer status;

    @ApiModelProperty("会员开通状态：0.未开通 1.开通成功 2.开通失败 3.会员已过期")
    private Integer memberOpenState;

    @ApiModelProperty("微信小程序openid")
    private String openId;

}
